package com.ehome.poct.core.dao.mybatis.mapper.order;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ehome.poct.core.dao.entity.order.TestPoctProfitsRecordDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TestPoctProfitsRecordMapper extends BaseMapper<TestPoctProfitsRecordDO> {

    int batchInsert(List<TestPoctProfitsRecordDO> recordDOList);

    int deleteByOrderNo(@Param("orderNo") String orderNo);

     int updateStatusByOrderNo(@Param("shareStatus")Integer shareStatus, @Param("orderNo")String orderNo);

     List<TestPoctProfitsRecordDO> findByOrderNo(@Param("orderNo")String orderNo);


}